<?php
	#session_start();
	include "../inc/chec.php";
	include "../mysql_connect.php";
	include "../inc/func.php";
    $sqlstr = "update tb_message set replyid = '".$_POST[id]."',sendid = '".$_POST[id]."',receiveid = '".$_POST[id]."',content = '".$_POST[p_content]."',time=now()where id = ".$_POST[id];
	$result = mysql_query($sqlstr,$dbc);
	re_message($result,"p_manage.php");
?>